Graphics.StringHeight Method

Returns the height of the text (based on the current font and fontsize) and a wrapWidth (pixels). The WrapWidth parameter specifies the width (in pixels) at which text should wrap.

Syntax

Graphics.StringHeight Text, WrapWidth


Parameters

Text

String

WrapWidth

Integer